﻿using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
namespace WPFExcelReport
{
    /// <summary>
    /// Interaction logic for Machine.xaml
    /// </summary>

    public partial class TMRUN
    {
        public TMRUN()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            MV = new VAMSTAMM();
            DataContext = MV;
            InitializeComponent(); 
        } 

        DataRowView rowv;
        public override void Window_Loaded(object sender, RoutedEventArgs e)
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            if (IsLoaded)
                return;
             
            base.Window_Loaded(sender, e);  
        }
        public override void bgWorker_DoWork(object sender, DoWorkEventArgs e)
        { 
            base.bgWorker_DoWork(sender, e);
        }
        public override void LOADBYAUF()
        {
            if (ORDERNUM.Length < 8)
                return;
            MKEY = ORDERNUM;
            StartMonitoring();
            base.LOADBYAUF();
        }
        public override void vwMaster_CurrentChanged(object sender, EventArgs e)
        {
            base.vwMaster_CurrentChanged(sender, e);
             
        }
        public override void StartMonitoring()
        {
            base.StartMonitoring();
        } 
    }
}
